package com.waterworld.watch.common.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by nhuan on 2019/3/25.
 */

@Entity
public class Notification {
    @Id(autoincrement = true)
    @Index(unique = true)
    private Long id;

    //通知ID
    private Integer msgId;
    //分类ID
    private Integer groupId;
    //手表ID
    private Integer watchId;
    //手表名字
    private String watchUserName;
    //手表手机号
    private String watchUserPhone;
    //内容
    private String content;
    //消息类型
    private Integer msgType;
    //时间
    private String time;
    //状态 0:未读 1:已读 2:删除
    private Integer state;
    @Generated(hash = 413830317)
    public Notification(Long id, Integer msgId, Integer groupId, Integer watchId,
            String watchUserName, String watchUserPhone, String content,
            Integer msgType, String time, Integer state) {
        this.id = id;
        this.msgId = msgId;
        this.groupId = groupId;
        this.watchId = watchId;
        this.watchUserName = watchUserName;
        this.watchUserPhone = watchUserPhone;
        this.content = content;
        this.msgType = msgType;
        this.time = time;
        this.state = state;
    }
    @Generated(hash = 1855225820)
    public Notification() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Integer getMsgId() {
        return this.msgId;
    }
    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }
    public Integer getGroupId() {
        return this.groupId;
    }
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }
    public Integer getWatchId() {
        return this.watchId;
    }
    public void setWatchId(Integer watchId) {
        this.watchId = watchId;
    }
    public String getWatchUserName() {
        return this.watchUserName;
    }
    public void setWatchUserName(String watchUserName) {
        this.watchUserName = watchUserName;
    }
    public String getWatchUserPhone() {
        return this.watchUserPhone;
    }
    public void setWatchUserPhone(String watchUserPhone) {
        this.watchUserPhone = watchUserPhone;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public Integer getMsgType() {
        return this.msgType;
    }
    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public Integer getState() {
        return this.state;
    }
    public void setState(Integer state) {
        this.state = state;
    }

    
}
